package Java.test;
//键盘录入三个整数，输出最大的
import java.util.Scanner;
public class OperatoreTest2 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        //method1
        System.out.println((a>b?a:b)>c?(a>b?a:b):c);
        //method2
        int d=a>b?a:b;
        int e=d>c?d:c;
        System.out.println(e);
    }
}
